-
Home
-
WP 2FA – Two-factor authentication for WordPress
-
1.6.1
-
Code
-
Classes
- Authentication
Total Complexity |
90 |
Dependencies |
4 |
Dependents |
9 |
Total lines |
582 |
Lines of code |
330 |
Logical lines of code |
188 |
Comment lines |
172 |
Methods |
20 |
Properties |
1 |
Methods 20
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
is_user_eligible_for_2fa() |
D |
27 |
48 |
135 |
base32_decode() |
S |
54 |
4 |
20 |
base32_encode() |
S |
58 |
4 |
15 |
pack64() |
S |
58 |
4 |
14 |
is_valid_authcode() |
S |
58 |
3 |
14 |
getApps() |
S |
49 |
1 |
39 |
calc_totp() |
S |
56 |
2 |
16 |
abssort() |
S |
66 |
3 |
8 |
get_code() |
S |
63 |
3 |
10 |
validate_token() |
S |
66 |
3 |
8 |
get_user_token() |
S |
67 |
3 |
7 |
is_valid_key() |
S |
68 |
2 |
7 |
get_google_qr_code() |
S |
66 |
2 |
8 |
user_has_token() |
S |
67 |
2 |
8 |
get_user_totp_key() |
S |
78 |
1 |
3 |
generate_token() |
S |
72 |
1 |
5 |
delete_token() |
S |
79 |
1 |
3 |
delete_user_totp_key() |
S |
79 |
1 |
3 |
generate_key() |
S |
71 |
1 |
5 |
__construct() |
S |
91 |
1 |
2 |